﻿#ifndef U_WebApi_H
#define U_WebApi_H

#include "Console/myobject.h"
#include "Console/Http/JQHttpServer.h"

class WebApi : public MyObject
{
    Q_OBJECT
public:
    explicit WebApi(QObject *parent = nullptr);

signals:

public slots:
    void WebHandler(const QPointer<JQHttpServer::Session> &session);
    int ToInt(QJsonValue value);

    /** 日志列表*/
    void GetSysLogList(const QPointer<JQHttpServer::Session> &session);

private:

};

#endif // U_WebApi_H
